<?php 
/**
* 登录控制器
*/
class LoginController extends Controller 
{
	
	public function index()
	{
		$data = M('stu')->where('id<5')->select();
		echo "这个是登录首页";
		$this->assign('data',$data);
		$this->display();
	}

	public function chechusername(){
		echo "检测用户名";
	}	

	public function loginout()
	{
		echo "退出";
	}

	public function qqlogin()
	{
		echo "QQ登录";
	}
}













 ?>